::@echo off 

::delete temp folder
::example: @for /d /r %%c in (Debug,settings,Release) do @if exist %%c ( rd /s /q "%%c" & echo delete %%c) 

::delete temp files
@for /r %%c in (*.DFR,*.BAK,*.err,*.SDB,*.SYM,*.tpy,*.ci,*.ri,*.bak,*.tpa,*.cfg) do del "%%c"
::pause